package com.zx.mes.hyl.security.core.validate.code.sms.impl;

import com.zx.mes.hyl.security.core.validate.code.sms.SmsCodeSender;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

/**
 * 默认的短信验证码发送器
 * @author huayunlong
 * @date 2018-6-2
 */
public class DefaultSmsCodeSender implements SmsCodeSender {

    private Logger logger= LoggerFactory.getLogger(getClass());

    @Override
    public void send(String mobile, String code) {
        logger.warn("默认的短信验证码发送器，没有真正实现,需要配置(SmsCodeSender)");
        logger.info("向手机:[{}]发送短信验证码:[{}]",mobile,code);
    }
}
